@import '~antd/lib/style/themes/default.less';

.scroll_main {
  display: table;
  /*
  * 适合左右菜单，内容自适应满屏 超出部分进行滚动
  */
  & > .scroll_left {
    display: table-cell;
    min-width: 250px;
    vertical-align: top;
    :global {
      .ant-card .ant-card-body {
        padding: 0px;
      }
    }
  }
  & > .scroll_content {
    width: 100%;
    display: table-cell;
    vertical-align: top;
    padding-left: 8px;
    :global {
      .ant-card .ant-card-body {
        padding: 0px;
      }
    }
  }
}

.menu {
  .menu_search {
    padding: 16px 16px 0px 16px;
  }
}

.icon_hover {
  cursor: pointer;
  font-size: 12px;
  &:hover {
    color: @blue-6;
  }
}

.tree_node {
  padding-left: 28px;
  margin-left: -28px;
  margin-right: -5px;
  padding-right: 12px;
  .tree_node_title {
  }
  .tree_node_icons {
    visibility: hidden;
    i {
      margin-left: 8px;
    }
  }
  &:hover .tree_node_icons {
    visibility: visible;
  }
}

.vertical_center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
